package com.univhis.exception;

import lombok.Data;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2024/1/4 9:45
 */
@Data
public class CustomException extends RuntimeException {
    /**
     * 状态码
     */
    private String code;

    /**
     * 状态码的描述信息
      */
    private String msg;

    public CustomException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
